package item.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.Code;

import item.bean.Rentals;
import item.util.Page;

public interface IRentalsService {
	
	List<Rentals> getRentals(Rentals rentals,Page page);
	int getCount(Rentals rentals);
	int addRentalsMes(Rentals rentals);
	int delRentals(int id);
	int deleteRentals(int id);
	int editRentals(Rentals rentals);
	Rentals getRentalsById(int id);
	int editRentalImgByID(Rentals rentals);
	List<Rentals> getCustomerRentalStatusByuserid(Rentals rentals);
	int getLastId();
	int editcode(Code code,int id);
}
